import request from '@/utils/request'

export function getList(params) {
  return request({
  //baseURL:'https://easy-mock.com/mock/5950a2419adc231f356a6636/vue-admin',
    url: '/manager/autoUpdate/apk/initAutoUpdate',
    method: 'post'
  })
}

export function getInitConfig() {
  return request({
    url: '/manager/autoUpdate/apk/initConfig',
    method: 'post'
  })
}

export function update(params) {
  return request({
    url: '/manager/autoUpdate/apk/opAutoUpdate',
    method: 'post',
    data: params
  })
}

export function delId(id) {
  return request({
    url: `/manager/autoUpdate/apk/delUpdate?id=${id}`,
    method: 'post'
  })
}

